package org.rex.udig.server;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;

@SuppressWarnings("serial")
public class ServerGUI extends JFrame{
	JTextArea jta;
	JScrollPane jsp;
	
	public ServerGUI(){
		this.setLayout(new BorderLayout());
		jta = new JTextArea();
		jta.setEditable(false);
		jta.setSize(200, 100);
		JPanel jp = new JPanel();
		
		jsp = new JScrollPane();
		jsp.setViewportView(jta);

		setTitle("Server");
		add(BorderLayout.CENTER,jp);
		add(jsp);
        setSize(300,200);
        setResizable(false);
        setVisible(true);  
        setLocationRelativeTo(null);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
	}
}
